package com.shenghua.service;

import com.shenghua.dao.model.User;
import com.shenghua.dao.page.Page;
import com.shenghua.utils.beans.Dto;

import java.util.Map;


/**
 * Created by Administrator on 2018/12/23.
 */
public interface UserService {
    public Dto<User> login(User user);
    public Dto<User> register(User user);

    public Dto<String> checkLinkman(String linkman);

    public Dto<Map<String,Object>> queryUserByPage(Map<String, Object> params, Page page);

    public Dto<User> editCurrentUser(User user);
}
